﻿using System;

namespace RoughHtml.w3c
{
    public abstract class ElementSelector : SimpleSelector
    {
        /**
     * Returns the
     * <a href="http://www.w3.org/TR/REC-xml-names/#dt-NSName">namespace
     * URI</a> of this element selector.
     * <p><code>NULL</code> if this element selector can match any namespace.</p>
     */
        public abstract String getNamespaceURI();

        /**
         * Returns the
         * <a href="http://www.w3.org/TR/REC-xml-names/#NT-LocalPart">local part</a>
         * of the
         * <a href="http://www.w3.org/TR/REC-xml-names/#ns-qualnames">qualified
         * name</a> of this element.
         * <p><code>NULL</code> if this element selector can match any element.</p>
         * </ul>
         */
        public abstract String getLocalName();
    }
}
